﻿using Awsc.DataAcquisitionSys.Core.Models.ServiceModels;

namespace Awsc.DataAcquisitionSys.Core.Repository
{
    public class SensorDataRow
    {
        private Dictionary<string, object> _row = new Dictionary<string, object>();
        public SensorDataRow()
        {
            Timestamp = DateTime.UtcNow;
        }

        public SensorDataRow(Dictionary<string,object> row)
        {
            Timestamp = DateTime.UtcNow;
            _row = row;
        }

        public DateTime Timestamp { get; set; }
        public Dictionary<string,object> Values
        {
            
            get
            {
                return _row;
            }
        }
    }
}
